@(testSuiteForm: Form[Resource], projectId: Long, testSuites: List[Resource])

@css = {
	<link rel="stylesheet" type="text/css" href="@routes.Assets.at("stylesheets/testsuites/add.min.css")" />
	<link rel="stylesheet" type="text/css" href="@routes.Assets.at("stylesheets/testsuites/list.min.css")" />
}

@main("Add test suite", css) {
	
	<div class="resource-form-2-column">
		@helper.form(action = routes.TestSuites.createTestSuite(projectId)) { 
			
			<div class="column">
				@helper.inputText(testSuiteForm("name"), '_label -> "Test suite name", '_help -> "A name is required")
		
				@helper.textarea(testSuiteForm("description"), '_label -> "Description", 'class -> "input-description")
			</div>
			
			<div class="column">
				
			</div>
			
			<div class="column-wide">
				<input type="submit" value="Create test suite" />
			</div>
			
		}
		
		<div class="clear-right"></div>
	</div>
	
	@controls.list(projectId, testSuites)
	
}
